package com.example.livedatatest.NetWork;

import android.view.View;

import androidx.lifecycle.LiveData;
import androidx.lifecycle.ViewModel;

import com.example.livedatatest.SplashService;
import com.example.livedatatest.User;

public class Viewmodel extends ViewModel {
    public LiveData<User>getuser(){
        return ApiService.create("http://192.168.43.102:8080/",SplashService.class).getUserLiveData();
    }
}
